package com.yyx.app1.Data.Medication;

import java.util.List;
/**
 * Medicinetable entity. @author MyEclipse Persistence Tools
 * 药品表
 */
//@Entity(name = "medicine")
public class Medicine {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	// Fields
//	@Id(type = IdType.AUTO_INCREASE, start = 1)
	private String id;
	private String medicineName;     //药品名字
	private Integer adminId;         //管理员id
	private String medicineFactory;  //生产厂家
	private String address;          //厂家地址
	private Integer belongToColumn;  //所属栏目
	private String explain;          //补充说明
	private String medicineImage;    //药品图片
	private String addtime;          //时间
	private String pinyin;           //汉语拼音
	private String englishName;      //英文名称
	private String petName;          //别名
	private String medicineContent;  //主要成分
	private String shape;            //性状
	private String preparation;      //制剂与规格
	private String functionDosage;   //用法用量
	private String cureFun;          //药理作用
	private String drugInteraction;  //药物相互作用
	private String indication;       //适应症
	private String clinical;         //临床应用
	private String effect;           //不良反应
	private String attention;        //注意事项
	private String contraindication; //禁忌症
	private Integer status;           //状态   0：创建  1：上架   -1：下架
	private String onTime;            //上架时间
	private String offTime;           //下架时间
	private String firstId;            //关联一级栏目
	private String columnName;       //所属栏目名称
	private String firstUrl;       //一级栏目url
	private String secondUrl;       //二级栏目url
//	private List<Medicine> medicineList; //同二级项目类药品
//	private Secondcolumns secondcolumns; //所属二级栏目
	// Property accessors

	public String getMedicineName() {
		return this.medicineName;
	}

	public void setMedicineName(String medicineName) {
		this.medicineName = medicineName;
	}

	public Integer getAdminId() {
		return this.adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getMedicineFactory() {
		return this.medicineFactory;
	}

	public void setMedicineFactory(String medicineFactory) {
		this.medicineFactory = medicineFactory;
	}

	public String getMedicineContent() {
		return this.medicineContent;
	}

	public void setMedicineContent(String medicineContent) {
		this.medicineContent = medicineContent;
	}

	public String getCureFun() {
		return this.cureFun;
	}

	public void setCureFun(String cureFun) {
		this.cureFun = cureFun;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getFunctionDosage() {
		return this.functionDosage;
	}

	public void setFunctionDosage(String functionDosage) {
		this.functionDosage = functionDosage;
	}

	public Integer getBelongToColumn() {
		return this.belongToColumn;
	}

	public void setBelongToColumn(Integer belongToColumn) {
		this.belongToColumn = belongToColumn;
	}

	public String getExplain() {
		return this.explain;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}

	public String getMedicineImage() {
		return this.medicineImage;
	}

	public void setMedicineImage(String medicineImage) {
		this.medicineImage = medicineImage;
	}

	public String getAddtime() {
		return this.addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}
	
	
	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getPinyin() {
		return pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}

	public String getEnglishName() {
		return englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public String getPetName() {
		return petName;
	}

	public void setPetName(String petName) {
		this.petName = petName;
	}

	public String getShape() {
		return shape;
	}

	public void setShape(String shape) {
		this.shape = shape;
	}

	public String getPreparation() {
		return preparation;
	}

	public void setPreparation(String preparation) {
		this.preparation = preparation;
	}

	public String getDrugInteraction() {
		return drugInteraction;
	}

	public void setDrugInteraction(String drugInteraction) {
		this.drugInteraction = drugInteraction;
	}

	public String getIndication() {
		return indication;
	}

	public void setIndication(String indication) {
		this.indication = indication;
	}

	public String getClinical() {
		return clinical;
	}

	public void setClinical(String clinical) {
		this.clinical = clinical;
	}

	public String getEffect() {
		return effect;
	}

	public void setEffect(String effect) {
		this.effect = effect;
	}

	public String getAttention() {
		return attention;
	}

	public void setAttention(String attention) {
		this.attention = attention;
	}

	public String getContraindication() {
		return contraindication;
	}

	public void setContraindication(String contraindication) {
		this.contraindication = contraindication;
	}



	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getOnTime() {
		return onTime;
	}

	public void setOnTime(String onTime) {
		this.onTime = onTime;
	}

	public String getOffTime() {
		return offTime;
	}

	public void setOffTime(String offTime) {
		this.offTime = offTime;
	}

	public String getFirstUrl() {
		return firstUrl;
	}

	public void setFirstUrl(String firstUrl) {
		this.firstUrl = firstUrl;
	}

	public String getSecondUrl() {
		return secondUrl;
	}

	public void setSecondUrl(String secondUrl) {
		this.secondUrl = secondUrl;
	}

	public String getFirstId() {
		return firstId;
	}

	public void setFirstId(String firstId) {
		this.firstId = firstId;
	}

//	@Override
	public void setId(String id) {
		this.id = id;
	}

//	@Override
	public String getId() {
		return id;
	}

	@Override
	public String toString() {
		return "Medicine{" +
				"id='" + id + '\'' +
				", medicineName='" + medicineName + '\'' +
				", adminId=" + adminId +
				", belongToColumn=" + belongToColumn +
				'}';
	}
}